#ifndef CONSTANTS_H_
# define CONSTANTS_H_

# define FP_PI           205887 // Pi
# define FP_PI_DIV_2     102944 // Pi / 2
# define FP_PI_MUL_2     411775 // Pi * 2

# define FP_ACCELERATION 24     // Acceleration factor
# define FP_BRAKE        36     // Braking factor
# define FP_TURNING      64     // Turning factor
# define FP_TURN_LIMIT   20000  // Limit on turn
# define FP_FRICTION_0   4      // Friction (constant)
# define FP_FRICTION_1   12     // Friction (proportional to speed)
# define FP_FRICTION_2   24     // Air resistance (proportional to speed^2)

# define MAX_BUFF_SIZE   512

#endif /* !CONSTANTS_H_ */
